package uk.co.revisual.domino.reasons
{
	import org.puremvc.as3.multicore.utilities.statemachine.State;
	
	public class CancellationReason
	{
		private var _reason:String;
		private var _body:Object;
		private var _referringAction:String;
		private var _currentState:State;
			
		public function CancellationReason( reason:String, body:Object,
											referringAction:String,
											currentState:State)
		{
			_reason = reason;
			_body = body;
			_referringAction = referringAction;
			_currentState = currentState;
			
		}
		
		public function get reason():String{
			return _reason;
		}
		
		public function get body():Object{
			return _body;
		}
		
		public function get referringAction():String{
			return _referringAction;
		}
		
		public function get currentState():State{
			return _currentState;
		}

	}
}